package br.unifor.cct.mia.evolutionary;

public class SpeciesConstants {
	
	public static final int FULL_DATABASE = 0;
	
	public static final int FEATURE_SELECTION = 1;
	public static final int INSTANCE_SELECTION = 2;
	public static final int FEATURE_INSTANCE_SELECTION = 3;
	public static final int FEATURE_SELECTION_FS = 4; //Fixed Size
	public static final int INSTANCE_SELECTION_FS = 5; 
    public static final int MISSING_VALUE = 6;
    public static final int FEATURE_CONSTRUCTION = 7;
    public static final int HUGE_SCALE_FEATURE_SELECTION = 8;
    
    public static String getValue(int type) {
    	String result = "";
    	
    	switch (type) {
		case FULL_DATABASE:
			result = "FULL_DATABASE";
			break;
		case FEATURE_SELECTION:
			result = "FEATURE_SELECTION";
			break;
		case INSTANCE_SELECTION:
			result = "INSTANCE_SELECTION";
			break;
		case FEATURE_INSTANCE_SELECTION:
			result = "FEATURE_INSTANCE_SELECTION";
			break;
		case FEATURE_SELECTION_FS:
			result = "FEATURE_SELECTION_FS";
			break;
		case INSTANCE_SELECTION_FS:
			result = "INSTANCE_SELECTION_FS";
			break;
		case MISSING_VALUE:
			result = "MISSING_VALUE";
			break;
		case FEATURE_CONSTRUCTION:
			result = "FEATURE_CONSTRUCTION";
			break;
		case HUGE_SCALE_FEATURE_SELECTION:
			result = "HUGE_SCALE_FEATURE_SELECTION";
			break;			
		default:
			result = "DESCONHECIDO";
			break;
		}
    	
    	return result;
    }
}
